package com.perfectoMobile.utils;

import org.junit.After;
import org.junit.Before;

import com.perfectoMobile.utils.jsytemReporter.JsReporter;
import com.perfectoMobile.utils.validation.TestResult;

public abstract  class EngineLessTests extends JsReporter implements ElEvents {

	
	public ElUtils _utils =  new ElUtils();
	TestResult testResult = TestResult.getTestResultInstance();
		
	
	@Before
	public void setUp() throws Exception {	
		try{
		report.startLevel(" EngineLess SetUp");
		_utils.setup();	
		report.stopLevel();
		}catch(Exception e){
			report.closeAllLevels();
		}
	}
	
	/*
	@org.testng.annotations.Test@Test	
	public void test() throws IOException {
		// TODO Auto-generated method stub
		report.startLevel("start Test");
	//	startTest();
		report.stopLevel();
	}
	
	//public abstract void startTest();
	*/

	@After
	public void tearDown() throws Exception {
		report.startLevel(" Tear Down");
		
		
		report.stopLevel();
	}
	
	
	
	public boolean validate() {
		// TODO Auto-generated method stub
		return false;
	}

	

}
